///////////////////////////////////////////////////////////////////////////////
// File:        ByteBuffer.cc
// Author:      671643387@qq.com
// Description:
///////////////////////////////////////////////////////////////////////////////

#include "common/Logger.hpp"
#include "common/ByteBuffer.hpp"
using namespace monkey::common;

void ByteBufferException::PrintPosError(void) const
{
    MKLOG_LOG(
        "Attempted to %s in ByteBuffer (pos: %u size: %u) "
        "value with size: %u",
        (add ? "put" : "get"), pos, size, esize);
}
